package org.apache.dubbo.demo.consumer.test.spi;

import org.apache.dubbo.common.URL;

public class CarWrapper implements Car {
    private Car car;

    public CarWrapper(Car car) {
        this.car = car;
    }

    @Override
    public void run(URL url) {

    }

    @Override
    public void run() {
        System.out.println("哥哥存钱喽.........");
        car.run();
        System.out.println("哥哥买车喽.........");
    }
}